<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title></title>

    <style>
      .angular-google-map-container {
          width: 100%;
          height: 504px;
      }
    </style>

    <link href="lib/ionic/css/ionic.css" rel="stylesheet">

    <!-- ionic/angularjs js -->
    <script src="lib/ionic/js/ionic.bundle.js"></script>
    <script src="lib/ngCordova/dist/ng-cordova.js"></script>
    <script src="cordova.js"></script>

    <!-- compiled css output -->
    <link href="css/ionic.app.css" rel="stylesheet">

    <script src="lib/angular-admob/angular-admob.js"></script>
     
    <script src="js/app.js"> </script>
    <script src="js/controller.js"> </script>
    <script src="js/services.js"> </script>
    <!-- script src="js/myadmob.js"> </script-->
    <script src="js/test.js"> </script>
    
  </head>
  <body ng-app="app" animation="slide-left-right-ios7">
    
    <script>
    function OnAd() {
        //console.log(cordova);
        initApp();
    }
    function initApp() {
        if(!AdMob) {
          alert("admob not ready");
        }else {
          createBanner();
        }
    }
    function createBanner() {
      alert("createBanner");
      AdMob.createBanner();

    }
    </script>
  <div>
    <div>
        <ion-nav-bar class="bar-stable bar-calm">
            <ion-nav-back-button class="button-icon icon ion-ios7-arrow-back">Back</ion-nav-back-button>
        </ion-nav-bar>

        <ion-nav-view>

      </ion-nav-view>
        
        
    </div>
</div>


  </body>
</html>
